<?php

namespace app\api\validate;

use think\Validate;

class CheckListDetails extends Validate
{
    protected $rule = [
       // "place_id" => "require",
        "company_name" => "require",
        "pro_id" => "require",
        "address" => "require",
        "area" => "require",
        "fzname" => "require",
        "lxtel" => "require",
        "images" => "require",
        "district_id" => "require",
        "types" => "require",
        // "one_uid_sign" => "require",
        // "one_company_sign" => "require"
    ];

    protected $message = [
        //'place_id.require' => '请选择场所性质',
        'company_name.require' => '请填写单位名',
        'pro_id.require' => '请选择所属项目场所',
        'address.require' => '请填写地址',
        'area.require' => '请填写经营面积',
        'fzname.require' => '请填写消防负责人',
        'lxtel.require' => '请填写联系电话',
        //'lxtel.number' => '手机格式错误',
        'images.require' => '请上传营业执照',
        'district_id.require' => '请选择区域',
        'types.require' => '检查状态不符',
        // 'one_uid_sign.require' => '请检查人签字',
        // 'one_company_sign.require' => '请被查单位签字'
        
    ];

}